Commands Code Text

Files

Connecting to a runtime to enable file browsing.
Notebook
Code Text

Gemini
Requirement already satisfied: tensorflow in /usr/local/lib/python3.12/dist-packages (2.19.0)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.12/dist-packages (3.10.0)
Requirement already satisfied: scikit-learn in /usr/local/lib/python3.12/dist-packages (1.6.1)
Requirement already satisfied: absl-py>=1.0.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (1.4.0)
Requirement already satisfied: astunparse>=1.6.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (1.6.3)
Requirement already satisfied: flatbuffers>=24.3.25 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (25.9.23)
Requirement already satisfied: gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (0.6.0)
Requirement already satisfied: google-pasta>=0.1.1 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (0.2.0)
Requirement already satisfied: libclang>=13.0.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (18.1.1)
Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (3.4.0)
Requirement already satisfied: packaging in /usr/local/lib/python3.12/dist-packages (from tensorflow) (25.0)
Requirement already satisfied: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0dev,>=3.20.3 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (5.29.5)
Requirement already satisfied: requests<3,>=2.21.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (2.32.4)
Requirement already satisfied: setuptools in /usr/local/lib/python3.12/dist-packages (from tensorflow) (75.2.0)
Requirement already satisfied: six>=1.12.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (1.17.0)
Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (3.1.0)
Requirement already satisfied: typing-extensions>=3.6.6 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (4.15.0)
Requirement already satisfied: wrapt>=1.11.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (1.17.3)
Requirement already satisfied: grpcio<2.0,>=1.24.3 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (1.75.1)
Requirement already satisfied: tensorboard~=2.19.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (2.19.0)
Requirement already satisfied: keras>=3.5.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (3.10.0)
Requirement already satisfied: numpy<2.2.0,>=1.26.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (2.0.2)
Requirement already satisfied: h5py>=3.11.0 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (3.14.0)
Requirement already satisfied: ml-dtypes<1.0.0,>=0.5.1 in /usr/local/lib/python3.12/dist-packages (from tensorflow) (0.5.3)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.12/dist-packages (from matplotlib) (1.3.3)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.12/dist-packages (from matplotlib) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.12/dist-packages (from matplotlib) (4.60.1)
Requirement already satisfied: kiwisolver>=1.3.1 in /usr/local/lib/python3.12/dist-packages (from matplotlib) (1.4.9)
Requirement already satisfied: pillow>=8 in /usr/local/lib/python3.12/dist-packages (from matplotlib) (11.3.0)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.12/dist-packages (from matplotlib) (3.2.5)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.12/dist-packages (from matplotlib) (2.9.0.post0)
Requirement already satisfied: scipy>=1.6.0 in /usr/local/lib/python3.12/dist-packages (from scikit-learn) (1.16.2)
Requirement already satisfied: joblib>=1.2.0 in /usr/local/lib/python3.12/dist-packages (from scikit-learn) (1.5.2)
Requirement already satisfied: threadpoolctl>=3.1.0 in /usr/local/lib/python3.12/dist-packages (from scikit-learn) (3.6.0)
Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/local/lib/python3.12/dist-packages (from astunparse>=1.6.0->tensorflow) (0.45.1)
Requirement already satisfied: rich in /usr/local/lib/python3.12/dist-packages (from keras>=3.5.0->tensorflow) (13.9.4)
Requirement already satisfied: namex in /usr/local/lib/python3.12/dist-packages (from keras>=3.5.0->tensorflow) (0.1.0)
Requirement already satisfied: optree in /usr/local/lib/python3.12/dist-packages (from keras>=3.5.0->tensorflow) (0.17.0)
Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib/python3.12/dist-packages (from requests<3,>=2.21.0->tensorflow) (3.4.3)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.12/dist-packages (from requests<3,>=2.21.0->tensorflow) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.12/dist-packages (from requests<3,>=2.21.0->tensorflow) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.12/dist-packages (from requests<3,>=2.21.0->tensorflow) (2025.8.3)
Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.12/dist-packages (from tensorboard~=2.19.0->tensorflow) (3.9)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /usr/local/lib/python3.12/dist-packages (from tensorboard~=2.19.0->tensorflow) (0.7.2)
Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.12/dist-packages (from tensorboard~=2.19.0->tensorflow) (3.1.3)
Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/local/lib/python3.12/dist-packages (from werkzeug>=1.0.1->tensorboard~=2.19.0->tensorflow) (3.0.3)
Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.12/dist-packages (from rich->keras>=3.5.0->tensorflow) (4.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.12/dist-packages (from rich->keras>=3.5.0->tensorflow) (2.19.2)
Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.12/dist-packages (from markdown-it-py>=2.2.0->rich->keras>=3.5.0->tensorflow) (0.1.2)
Code Text

Gemini
Code Text

Gemini
📊 VGG16 Classification Report
                                  precision    recall  f1-score   support

                     animal fish       0.99      0.96      0.98       520
                animal fish bass       0.41      0.69      0.51        13
   fish sea_food black_sea_sprat       0.98      0.95      0.96       298
   fish sea_food gilt_head_bream       0.91      0.97      0.94       305
   fish sea_food hourse_mackerel       0.91      0.98      0.94       286
        fish sea_food red_mullet       0.99      0.98      0.99       291
     fish sea_food red_sea_bream       0.97      0.94      0.96       273
          fish sea_food sea_bass       0.98      0.94      0.96       327
            fish sea_food shrimp       0.98      1.00      0.99       289
fish sea_food striped_red_mullet       0.96      0.97      0.96       293
             fish sea_food trout       0.98      0.96      0.97       292

                        accuracy                           0.96      3187
                       macro avg       0.92      0.94      0.92      3187
                    weighted avg       0.97      0.96      0.96      3187

Confusion Matrix:
[[500  13   0   1   5   0   0   0   1   0   0]
 [  4   9   0   0   0   0   0   0   0   0   0]
 [  0   0 282   1  12   1   0   0   0   2   0]
 [  0   0   0 296   1   0   4   4   0   0   0]
 [  0   0   3   1 280   0   2   0   0   0   0]
 [  0   0   0   0   0 286   0   0   0   5   0]
 [  0   0   0   8   3   0 257   0   0   4   1]
 [  0   0   3   6   3   0   0 308   1   2   4]
 [  0   0   0   0   0   0   0   1 288   0   0]
 [  0   0   1   1   3   1   1   0   3 283   0]
 [  0   0   0  10   0   0   1   1   0   0 280]]
Code Text

Gemini
Close

image.png

Code Text

Gemini
📊 RESNET50 Classification Report
                                  precision    recall  f1-score   support

                     animal fish       1.00      0.99      0.99       520
                animal fish bass       0.75      0.92      0.83        13
   fish sea_food black_sea_sprat       1.00      1.00      1.00       298
   fish sea_food gilt_head_bream       0.99      0.98      0.99       305
   fish sea_food hourse_mackerel       0.99      1.00      1.00       286
        fish sea_food red_mullet       1.00      1.00      1.00       291
     fish sea_food red_sea_bream       0.99      1.00      0.99       273
          fish sea_food sea_bass       0.98      1.00      0.99       327
            fish sea_food shrimp       1.00      1.00      1.00       289
fish sea_food striped_red_mullet       1.00      0.99      1.00       293
             fish sea_food trout       1.00      0.99      1.00       292

                        accuracy                           0.99      3187
                       macro avg       0.97      0.99      0.98      3187
                    weighted avg       0.99      0.99      0.99      3187

Confusion Matrix:
[[515   4   0   1   0   0   0   0   0   0   0]
 [  1  12   0   0   0   0   0   0   0   0   0]
 [  0   0 297   0   1   0   0   0   0   0   0]
 [  0   0   0 298   1   0   4   2   0   0   0]
 [  0   0   0   0 286   0   0   0   0   0   0]
 [  0   0   0   0   0 291   0   0   0   0   0]
 [  0   0   0   0   0   0 273   0   0   0   0]
 [  0   0   0   0   0   0   0 327   0   0   0]
 [  0   0   0   0   0   0   0   0 289   0   0]
 [  0   0   0   0   0   0   0   2   0 291   0]
 [  0   0   0   1   0   0   0   1   0   0 290]]
Code Text

Gemini
Close

image.png

Code Text

Gemini
📊 MOBILENET Classification Report
                                  precision    recall  f1-score   support

                     animal fish       1.00      0.99      0.99       520
                animal fish bass       0.75      0.92      0.83        13
   fish sea_food black_sea_sprat       1.00      0.99      0.99       298
   fish sea_food gilt_head_bream       0.99      0.99      0.99       305
   fish sea_food hourse_mackerel       0.97      0.99      0.98       286
        fish sea_food red_mullet       1.00      0.97      0.98       291
     fish sea_food red_sea_bream       0.99      0.99      0.99       273
          fish sea_food sea_bass       0.99      1.00      1.00       327
            fish sea_food shrimp       1.00      1.00      1.00       289
fish sea_food striped_red_mullet       0.98      0.99      0.98       293
             fish sea_food trout       1.00      1.00      1.00       292

                        accuracy                           0.99      3187
                       macro avg       0.97      0.98      0.98      3187
                    weighted avg       0.99      0.99      0.99      3187

Confusion Matrix:
[[515   4   1   0   0   0   0   0   0   0   0]
 [  1  12   0   0   0   0   0   0   0   0   0]
 [  0   0 296   0   2   0   0   0   0   0   0]
 [  0   0   0 301   0   0   2   2   0   0   0]
 [  0   0   0   0 283   1   0   0   0   2   0]
 [  0   0   0   0   3 283   0   0   0   5   0]
 [  0   0   0   4   0   0 269   0   0   0   0]
 [  0   0   0   0   0   0   0 327   0   0   0]
 [  0   0   0   0   0   0   0   0 289   0   0]
 [  0   0   0   0   3   0   0   0   0 290   0]
 [  0   0   0   0   0   0   0   0   0   0 292]]
Code Text

Gemini
Close

image.png

Code Text

Gemini
📊 INCEPTIONV3 Classification Report
                                  precision    recall  f1-score   support

                     animal fish       1.00      0.89      0.94       520
                animal fish bass       0.24      0.92      0.38        13
   fish sea_food black_sea_sprat       0.95      1.00      0.98       298
   fish sea_food gilt_head_bream       0.96      0.98      0.97       305
   fish sea_food hourse_mackerel       0.98      0.99      0.98       286
        fish sea_food red_mullet       0.98      0.97      0.98       291
     fish sea_food red_sea_bream       0.99      0.99      0.99       273
          fish sea_food sea_bass       0.95      0.98      0.97       327
            fish sea_food shrimp       1.00      1.00      1.00       289
fish sea_food striped_red_mullet       0.96      0.92      0.94       293
             fish sea_food trout       0.99      0.98      0.98       292

                        accuracy                           0.96      3187
                       macro avg       0.91      0.97      0.92      3187
                    weighted avg       0.97      0.96      0.97      3187

Confusion Matrix:
[[465  39   6   3   0   0   0   2   1   0   4]
 [  1  12   0   0   0   0   0   0   0   0   0]
 [  0   0 297   0   1   0   0   0   0   0   0]
 [  0   0   0 298   0   0   2   5   0   0   0]
 [  0   0   2   0 282   0   0   0   0   2   0]
 [  0   0   0   0   0 283   0   0   0   8   0]
 [  0   0   0   4   0   0 269   0   0   0   0]
 [  0   0   3   2   0   0   0 322   0   0   0]
 [  0   0   0   0   0   0   0   0 289   0   0]
 [  0   0   3   1   6   6   0   6   0 271   0]
 [  0   0   0   1   0   0   1   3   0   0 287]]
Code Text

Gemini
Close

image.png

Code Text

Gemini
📊 EFFICIENTNETB0 Classification Report
                                  precision    recall  f1-score   support

                     animal fish       0.99      0.96      0.98       520
                animal fish bass       0.58      0.85      0.69        13
   fish sea_food black_sea_sprat       1.00      1.00      1.00       298
   fish sea_food gilt_head_bream       0.99      0.99      0.99       305
   fish sea_food hourse_mackerel       1.00      1.00      1.00       286
        fish sea_food red_mullet       0.99      1.00      1.00       291
     fish sea_food red_sea_bream       0.99      1.00      0.99       273
          fish sea_food sea_bass       0.99      1.00      1.00       327
            fish sea_food shrimp       1.00      1.00      1.00       289
fish sea_food striped_red_mullet       1.00      1.00      1.00       293
             fish sea_food trout       0.99      0.98      0.98       292

                        accuracy                           0.99      3187
                       macro avg       0.96      0.98      0.97      3187
                    weighted avg       0.99      0.99      0.99      3187

Confusion Matrix:
[[501   8   1   3   0   2   1   0   0   0   4]
 [  2  11   0   0   0   0   0   0   0   0   0]
 [  0   0 297   0   1   0   0   0   0   0   0]
 [  0   0   0 302   0   0   3   0   0   0   0]
 [  0   0   0   0 286   0   0   0   0   0   0]
 [  0   0   0   0   0 291   0   0   0   0   0]
 [  0   0   0   0   0   0 273   0   0   0   0]
 [  0   0   0   0   0   0   0 327   0   0   0]
 [  0   0   0   0   0   0   0   0 289   0   0]
 [  0   0   0   0   0   0   0   0   0 293   0]
 [  3   0   0   0   0   0   0   2   0   0 287]]

 

Code Text

Gemini
Close

image.png

Code Text

Gemini
========== FINAL VALIDATION ACCURACIES ==========
vgg16           : 0.9679
resnet50        : 0.9908
mobilenet       : 0.9899
inceptionv3     : 0.9679
efficientnetb0  : 0.9881
Code Text

Gemini

Code Text

Gemini

Code Text

Gemini

Code Text

Gemini

Code Text

Gemini


Gemini

Code Text

Gemini

Code Text

Gemini

Code Text

Gemini

Code Text

Gemini


Gemini


Gemini

Code Text

Gemini

Code Text

Variables Terminal
Add a comment